home *** CD-ROM | disk | FTP | other *** search
/ Hardcore Gamer Resource Kit / Hardcore Gamer Resource Kit - Disc 2.iso / Pc / S_T / S2R.ZIP / S2RETE.BAT < prev    next >
DOS Batch File  |  1996-11-28  |  2KB  |  67 lines

  1. @Echo off
  2. cls
  3. Echo.
  4. Echo                   Installazione Patch Screamer 2 (v1.11)
  5. Echo                          per installazione rete
  6. Echo.
  7.  
  8. rem -------- Check parameters ---------
  9. if "%1" == "" goto error1
  10. if "%2" == "" goto error1
  11. rem -----------------------------------
  12.  
  13. rem --- Check if directory exists -----
  14. if not exist %1:\%2\screamer.cfg goto error2
  15. rem -----------------------------------
  16.  
  17.  
  18. rem --- Normal procedure --------------
  19. Echo.
  20. Echo Installando patch per installazione rete
  21. Echo.
  22. Echo Attendere prego........
  23. copy s2_*.exe %1:\%2 > nul
  24. copy setupn.exe %1:\%2 > nul
  25. %1:
  26. cd \%2
  27. attrib start*.exe -r > nul
  28. if not exist starth.exe goto njump3
  29. del starth.exe
  30. s2_256hn.exe > nul
  31. :njump3
  32. if not exist start65h.exe goto njump4
  33. del start65h.exe
  34. s2_65khn.exe > nul
  35. :njump4
  36. del s2_*.exe
  37. del setup.exe
  38. setupn.exe > nul
  39. del setupn.exe > nul
  40. cls
  41. goto installed
  42. rem -----------------------------------
  43.  
  44. :installed
  45. Echo. 
  46. Echo Patch Installato
  47. Echo Se installi nuovamente Screamer 2, bisogna re-installare il patch.
  48. goto end
  49.  
  50. :error1
  51. cls
  52. echo Uso: S2RETE drive s2dir
  53. echo dove drive è il drive su cui Screamer 2 è installato
  54. echo e s2dir è la directory di Screamer 2.
  55. echo Esempio: S2RETE C S2 
  56. goto end
  57.  
  58. :error2
  59. cls
  60. echo La directory di Screamer 2 specificata (%1:\%2) non è stata
  61. echo trovata oppure l'installazione non è completa.
  62. echo Controlla il percorso specificato. Se il percorso è corretto
  63. echo dovresti installare nuovamente Screamer 2.
  64. goto end
  65.  
  66. :end
  67.